Automattic\Jetpack\Identity_Crisis C

Total Complexity 119
Dependencies 11
Dependents 12
Total lines 1,194
Lines of code 573
Logical lines of code 212
Comment lines 500
Methods 47
Properties 4

Methods 47

Method Rating Maintainability Complexity Lines of code
validate_sync_error_idc_option()
A
51 15 25
get_mismatched_urls()
A
53 9 25
maybe_clear_migrate_option()
S
58 8 14
add_idc_query_args_to_url()
S
55 7 20
get_sync_error_idc_option()
S
53 5 24
check_response_for_idc()
S
55 5 21
display_non_admin_idc_notice()
S
54 4 25
wordpress_init()
S
58 4 15
normalize_url_protocol_agnostic()
S
59 4 14
check_http_response_for_idc_detected()
S
60 4 13
should_handle_idc()
S
61 4 11
display_admin_bar_button()
S
53 3 24
check_identity_crisis()
S
67 4 7
render_notice_second_step()
S
53 1 37
render_notice_first_step()
S
54 1 36
non_admins_current_screen_check()
S
66 3 8
__construct()
S
58 2 14
display_idc_notice()
S
61 2 14
clear_all_idc_options()
S
62 2 13
render_error_notice()
S
60 1 22
render_notice_header()
S
59 1 18
init()
S
71 2 6
has_identity_crisis()
S
78 2 3
admin_page_has_help_tabs()
S
65 2 9
do_jetpack_idc_disconnect()
S
66 2 9
get_start_fresh_action_explanation()
S
60 1 13
get_migrate_site_action_explanation()
S
60 1 13
get_first_step_header_lead()
S
62 1 12
get_non_admin_notice_text()
S
63 1 11
get_first_step_fix_connection_action_explanation()
S
63 1 11
get_confirm_safe_mode_action_explanation()
S
63 1 11
get_first_step_header_explanation()
S
64 1 10
jetpack_connection_disconnect_site_wpcom_filter()
S
79 1 3
get_confirm_safe_mode_button_text()
S
75 1 4
enqueue_idc_notice_files()
S
76 1 4
get_first_step_fix_connection_button_text()
S
75 1 4
get_second_step_header_lead()
S
66 1 8
enqueue_admin_bar_css()
S
80 1 3
get_migrate_site_button_text()
S
75 1 4
get_safe_mod_doc_url()
S
80 1 3
get_start_fresh_button_text()
S
75 1 4
get_unsure_prompt()
S
64 1 10
prepare_url_for_display()
S
79 1 3
get_non_admin_contact_admin_text()
S
72 1 5
legacy_jetpack_sync_idc_optin_filter()
S
77 1 3
safe_mode_is_confirmed()
S
80 1 3
sync_idc_optin()
S
75 1 4